accustom (oneself) to (something)

Translations
привыкнуть к (чему-то)
It took time for him to accustom himself to the new environment.
Ему потребовалось время, чтобы привыкнуть к новой обстановке.